export default {
  computed: {
    activeTab: {
      get() {
        return this.tab;
      },
      set(value) {
        this.$router.push({params: {...this.$route.params, tab: value}});
        return value;
      }
    }
  },
  methods: {
    changeTab(tabs) {
      this.activeTab = tabs.name;
    }
  },
};

